package io.github.mayubao.kotlintest

import org.junit.Assert.assertEquals
import org.junit.Test

/**
 * Top method and param like static param and static method in java
 *
 * if you want to static param and static method , you should should use the syntax like as follow:
 *
 * companio object {
 *      //define your static param
 *
 *      //define your static method
 * }
 */
class Day21_TopMethodAndParam{


    @Test
    fun tesOverrideOperator(){
        HelloKt.DEFAULT_VALUE
        val defaultValue= HelloKt.DEFAULT_VALUE
        assertEquals(1, defaultValue)
    }
}